package com.mz.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mz.demo.entity.SysPermission;
import com.mz.demo.entity.SysRole;
import com.mz.demo.entity.SysUser;
import com.mz.demo.entity.vo.UserQuery;
import com.mz.demo.entity.vo.UserVo;
import com.mz.demo.utils.entity.PaginationVo;

import java.util.List;

public interface UserService {
    void addUser(UserVo userVo);

    IPage getUserPagination(PaginationVo paginationVo, UserQuery userQuery);

    SysUser getUserDetailById(Long userId);

    void updateUserInfo(UserVo userVo);

    void removeUserById(Long userId);

    List<SysRole> getUserRoleList(Long userId);

    List<SysPermission> getUserPermissionList(Long userId);
}
